<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			html,body{
				margin: 0px;
				padding: 0px;
			}
			body{
				background: black;
			}
			#banner{
				width: 100%;
				height: 50px;
				margin-top: 50px;
				background: pink;
				position: fixed;
			}
			#box{
				width: 100%;
				height: 2000px;
				background: #eeeeee;
			}
		</style>
	</head>
	<body>
		<div id="banner">
			固定定位
		</div>
		<div id="box">
			
		</div>
	</body>
</html>
